import requset from "@/utils/request";

export const register = (data) => {
  return requset.post("/user/registered", data);
};

export const login = (data) => {
  return requset.post("/user/login", data);
};

export const user = () => {
  return requset.get("/user");
};

export const enshrine = () => {
  return requset.get("/user/favorites");
};

export const LunImg = () => {
  return requset.get("/home/swiper");
};
